package com.xbongbong.pro.formdata.pojo.dto;

import com.xbongbong.paas.field.MultiUnitItemPoJo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/10/24 20:52
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class LinkDataDTO extends BaseDTO {


    private static final long serialVersionUID = 5196571640114169132L;

    private Integer businessType;

    private Integer saasMark;

    private Map<Long, List<String>> mainUserMap;

    private Map<Long, List<String>> coUserMap;

    /**
     * 单位组map
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Map<Long, MultiUnitItemPoJo> groupBaseUnitMap;

    /**
     * 1：打印调用详情接口，0或者0则是非打印
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer isPrint;
}
